var a = 1; var b = 3; if(a % 2 == 1) { if(b % 2 == 1) { console.log("Suma to " + (a+b)); } }